package com.xp.tinyurl.service.thirdprovider.enums;

public enum AeinkChannelEnum {
    /**
     * Aeink api doc: http://tools.aeink.com/tools/dwz/api.html
     * Aeink官网说支持sina|dwzcn|dwzmn|urlcn|980so|mrwso|suoim|u6gg|rrdme|c7gg|uvucc
     * 实测只支持sina|dwzmn|urlcn|u6gg|
     */
    WECHAT(1, "urlcn"),
    DWZMN(2, "dwzmn"),
    U6GG(3, "u6gg"),
    ;

    private Integer index;
    private String name;

    AeinkChannelEnum(int i, String d) {
        this.index = i;
        this.name = d;
    }

    public int getIndex() {
        return this.index;
    }

    public String getName() {
        return this.name;
    }

}
